module NWD::NinjaWebDebuggerHelper

  def web_debugger
    content_tag :div, :id => "ninja_debug" do
        link_to_remote image_tag('nwd/nw_debugger_icon.png', :width => '30px', :title => 'Ninja Web Debugger', :alt => '[debugger]'), :url => {:controller => 'ninja_web_debugger', :action => 'show', :key => @log_key, :request_id => @request_id}
    end
  end
    
end